package com.yyfax.pay.depository.dao;

import java.util.List;

import com.yyfax.pay.vo.depository.ArtificialRegisterReq;
import org.apache.ibatis.annotations.Param;

import com.yyfax.pay.depository.domain.EnterpriseAuth;

public interface EnterpriseAuthDao {
	/**
	 * @mbggenerated
	 */
	int deleteByPrimaryKey(String authId);

	/**
	 * @mbggenerated
	 */
	int insert(EnterpriseAuth record);

	/**
	 * @mbggenerated
	 */
	EnterpriseAuth selectByPrimaryKey(String authId);

	/**
	 * @mbggenerated
	 */
	List<EnterpriseAuth> selectAll();

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKey(EnterpriseAuth record);

	EnterpriseAuth selectByMerchantCodeAndEnterpriseUserId(@Param("merchantCode") String merchantCode, @Param("enterpriseUserId") String enterpriseUserId);

	EnterpriseAuth selectEnterpriseByFourElements(@Param("merchantCode") String merchantCode, @Param("enterpriseUserId") String enterpriseUserId, @Param("enterpriseName") String enterpriseName,@Param("cardNoCip") String cardNoCip);
}